//
//  OMTSDKAutoPurgaCache.m
//  Pods
//
//  Created by yizhaorong on 2017/3/20.
//
//

#import "OMTAutoPurgaCache.h"

@implementation OMTAutoPurgaCache

- (id)init
{
    self = [super init];
    if (self) {
        [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(removeAllObjects) name:UIApplicationDidReceiveMemoryWarningNotification object:nil];
    }
    return self;
}

- (void)dealloc
{
    [[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationDidReceiveMemoryWarningNotification object:nil];
    
}

@end
